<?php

namespace variant;

use variant\library\vari\Log;

if ((float)PHP_VERSION < 7.1) {
    echo 'PHP version must be higher than 7.1';
    die;
}

if (strpos('cli', php_sapi_name()) === false) {
    echo 'Notify the system that it is running!';
    die;
}

/**
 *加载基础文件
 */
require_once __DIR__ . '/base.php';
require_once __DIR__ . '/Autoloader.php';
require_once __DIR__ . '/../vendor/autoload.php';
Log::register();
